package com.lvhaosb.newpneumonia.mapper;

import com.lvhaosb.newpneumonia.POJO.po.DomesticCityEpidemic;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 国内各大新冠疫情 Mapper 接口
 *
 * @author lvhao
 * @since 2020-06-21
 */
@Repository
public interface DomesticCityEpidemicMapper {
    //查询时间最新的信息
    List<DomesticCityEpidemic> selectByIdAndTimeNewest(int city_id);

    int insert(@Param("domesticCityEpidemic") DomesticCityEpidemic domesticCityEpidemic);

}
